#print()
# n=3
# print(n)
# print(chr(65))
# print('ni','ni',sep=',')
import keyword

# fp=open('note.txt','w')
# fp.write('nihao')
# fp.write('\n')
# print('hello',file=fp)
# fp.close()

#input()
# n1=input('请输入：')

#kwlist()
# print(keyword.kwlist)
# print(type(keyword.kwlist))
# print(len(keyword.kwlist))

# #二进制
# num1=0b1010
# #八进制
# num2=0o67
# #十进制
# num3=10
# #十六进制
# num4=0xA9
#
# print(num1)#10
# print(num2)#55
# print(num3)#10
# print(num4)#169

# #浮点数
# num1=0.12
# num2=0.1111
# num3=1.9E33
# # print(num1,num2)
# print(round(num1+num2,3))

# #复数
# num=12+35j
# print(num.imag)
# print(num.real)

# #字符串
# s1='nihao'
# s2="nihao"
# s3='''nihao'''
# print(s1,s2,s3)
# print(s1+'\n'+s2)
# #一个制表位8个字符
# print(s1+'\t'+s1)
# print("\'")
# print("\"")
# print('\\')
# #全部转义
# print(R'nih\nao')
# print(r'nih\nao')

# #切片
# s='nihaoxiaoyang'
# # print(s[0])
# # print(s[0:1])
# print(s[-1:])

# #相关操作
# s0='n'
# s='nihao'
# print(s*2)
# print(s0 in s)

# #布尔类型
# b1=True
# # print(b1-1)
# b2=False
# # print(b2+10)
# #False的情况
# print(bool(None))
# print(bool(''))
# print(bool(()))
# print(bool([]))
# print(bool({}))

# # 数据类型的转换
# #显式转换
# n1=10
# n2=3
# n=int(n1/n2)
# print(n)
# n=int(n1)/n2
# print(n)
#隐式转换

# #eval()
# # n=1
# # s='2'
# # print(n+eval(s))
# hight=eval(input('请输入你的身高：'))
# print(1+hight)

#赋值运算符
# n=2
# # n%=2
# # print(n)
# n**=2
# print(n)
# n1=10
# n2=100
# # n=n1/n2
# n=n2/n1
# print(n)
# #链式赋值
# # a=b=10
# a,b=8,10
# print(a,b)
# #交换赋值
# a,b=b,a
# print(a,b)
# #位运算符
# n1=1
# n2=2
# # print(n1&n2)#位与
# # print(n1|n2)#位或
# # print(n1^n2)#位异或
# # print(~5)#位取反
# # print(n2>>n1)#右移位

